﻿using System.Web.Mvc;
using Wisdom.Core;

namespace Wisdom.Web.Mvc
{
    /// <summary>
    /// Defines a class to configure mapping between controller activator and controller.
    /// </summary>
    [DependsOn(typeof(RegisterControllerActivator))]
    public abstract class ConfigureControllerActivatorsBase : ConfigurableTypeMappingBase<Controller, IControllerActivator>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ConfigureControllerActivatorsBase"/> class.
        /// </summary>
        /// <param name="registry">The registry.</param>
        protected ConfigureControllerActivatorsBase(TypeMappingRegistry<Controller, IControllerActivator> registry)
            : base(registry)
        {
        }
    }
}